.news-editor {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  
  .quill {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    
    .ql-toolbar {
      flex-shrink: 0;
      background-color: #fff;
    }
    
    .ql-container {
      flex: 1;
      display: flex;
      flex-direction: column;
      height: auto !important;
      overflow-y: visible;
      font-size: 16px;
    }
    
    .ql-editor {
      flex: 1;
      min-height: 300px;
      height: auto;
      padding: 12px 15px;
      font-size: 16px;
      line-height: 1.6;
      
      p {
        margin-bottom: 1em;
      }
      
      img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 1em auto;
      }
      
      h1, h2, h3, h4, h5, h6 {
        margin-top: 1.5em;
        margin-bottom: 0.5em;
      }
    }
  }
  
  .news-editor-tips {
    margin-top: 8px;
    color: #999;
    font-size: 12px;
    text-align: right;
    flex-shrink: 0;
    padding: 0 16px 8px;
  }
}

// 移除不必要的样式
.wrapper-class,
.editor-class,
.toolbar-class {
  display: none;
}

// 响应式调整
@media (max-width: 768px) {
  .news-editor {
    .quill {
      .ql-container {
        min-height: 150px;
      }
      
      .ql-editor {
        min-height: 200px;
      }
    }
  }
} 